package pe.edu.upc.xcode.moroso.dao;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport;
import org.springframework.stereotype.Repository;

import pe.edu.upc.xcode.regismoroso.domain.Moroso;
@Repository
public class MorosoDAOImpl extends SimpleJdbcDaoSupport implements MorosoDAO {

	@Autowired
	public MorosoDAOImpl(DataSource dataSource) {
		setDataSource(dataSource);
	}
	
	public String consultaMoroso(String dni) throws Exception {
		// TODO Auto-generated method stub
		return "";
	}

	public String RegistraMoroso(Moroso moroso) throws Exception {
		// TODO Auto-generated method stub
		return "";
	}

}